const github.com/gotd/td/telegram/downloader.cdnMinChunk
7 uses
github.com/gotd/td/telegram/downloader (current package)
cdn_plan.go#L11: cdnMinChunk = 4 * 1024
cdn_plan.go#L16: for size := max; size >= cdnMinChunk; size -= cdnMinChunk {
cdn_plan.go#L31: if offset%cdnMinChunk != 0 {
cdn_plan.go#L32: return nil, errors.Errorf("CDN offset %d must be divisible by %d", offset, cdnMinChunk)
cdn_plan.go#L34: if limit%cdnMinChunk != 0 {
cdn_plan.go#L35: return nil, errors.Errorf("CDN limit %d must be divisible by %d", limit, cdnMinChunk)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |